//
//  BaseCommand.m
//  CommandPattern
//
//  Created by ying on 2017/12/14.
//  Copyright © 2017年 SUIRUI. All rights reserved.
//

#import "BaseCommand.h"

@implementation BaseCommand

- (void)execute{
    if ([self.lastComDelegate respondsToSelector:@selector(callbackLastCommand:)]) {
        [self.lastComDelegate callbackLastCommand:self];
    }
}

@end
